package entity;

import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

/**
 * @ClassName InvoiceRecord
 * @Description TODO
 * @Author lzq
 * @Date 2021/6/20 16:23
 */
public class InvoiceRecord {
    private final SimpleIntegerProperty invoice_id;
    private final SimpleStringProperty total_price;
    private final SimpleStringProperty order_date;

    public InvoiceRecord(Integer invoice_id, String total_price, String order_date) {
        this.invoice_id =new SimpleIntegerProperty(invoice_id);
        this.total_price =new SimpleStringProperty(total_price);
        this.order_date =new SimpleStringProperty(order_date);
    }

    public int getInvoice_id() {
        return invoice_id.get();
    }

    public SimpleIntegerProperty invoice_idProperty() {
        return invoice_id;
    }

    public void setInvoice_id(int invoice_id) {
        this.invoice_id.set(invoice_id);
    }

    public String getTotal_price() {
        return total_price.get();
    }

    public SimpleStringProperty total_priceProperty() {
        return total_price;
    }

    public void setTotal_price(String total_price) {
        this.total_price.set(total_price);
    }

    public String getOrder_date() {
        return order_date.get();
    }

    public SimpleStringProperty order_dateProperty() {
        return order_date;
    }

    public void setOrder_date(String order_date) {
        this.order_date.set(order_date);
    }
}
